package com.ruoyi.web.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 类别管理对象 tea_category
 *
 * @author xuzhisen
 * @date 2022-08-18
 */
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类别编号 */
    private Long categoryId;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String categoryName;

    /** 类别图片 */
    @Excel(name = "类别图片")
    private String categoryImg;

    /** 茶叶管理信息 */
    private List<Teas> teasList;

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }
    public void setCategoryImg(String categoryImg)
    {
        this.categoryImg = categoryImg;
    }

    public String getCategoryImg()
    {
        return categoryImg;
    }

    public List<Teas> getTeasList()
    {
        return teasList;
    }

    public void setTeasList(List<Teas> teasList)
    {
        this.teasList = teasList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("categoryName", getCategoryName())
            .append("categoryImg", getCategoryImg())
            .append("teasList", getTeasList())
            .toString();
    }
}
